import Vue from 'vue'
import Router from 'vue-router' //vue-router
import App from './App.vue'
import VueClipboard from 'vue-clipboard2' //复制组件
import ElementUI from 'element-ui' //饿了么组件
import 'element-ui/lib/theme-chalk/index.css' //饿了么样式
import store from './store/index.js' //vuex
import router from './router/index.js' //路由
import globalData from './util/globalData.js' //全局
import loadsh from 'loadsh'
import '@/permission'
Vue.use(VueClipboard)
Vue.use(ElementUI)
Vue.use(Router)
Vue.config.productionTip = false
Vue.prototype.$gData = globalData
Vue.prototype.$_ = loadsh
//Vue.prototype.$api = api;
new Vue({
	el: '#app',
	router,
	store,
	render: h => h(App)
}).$mount('#app')
